package com.example.examsystem2.entity;


import java.util.List;

public class Subject {
    private int s_id;
    private String s_name;
    private String s_creat_time;
    private int s_state;
    private List<SingleChoiceQuestions> singleChoiceQuestions;
    private List<ShortAnswerQuestions> shortAnswerQuestions;
    private List<JudgmentQuestions> judgmentQuestions;
    public Subject() {
    }

    public int getS_id() {
        return s_id;
    }

    public void setS_id(int s_id) {
        this.s_id = s_id;
    }

    public String getS_name() {
        return s_name;
    }

    public void setS_name(String s_name) {
        this.s_name = s_name;
    }

    public String getS_creat_time() {
        return s_creat_time;
    }

    public void setS_creat_time(String s_creat_time) {
        this.s_creat_time = s_creat_time;
    }

    public int getS_state() {
        return s_state;
    }

    public void setS_state(int s_state) {
        this.s_state = s_state;
    }

    public List<SingleChoiceQuestions> getSingleChoiceQuestions() {
        return singleChoiceQuestions;
    }

    public void setSingleChoiceQuestions(List<SingleChoiceQuestions> singleChoiceQuestions) {
        this.singleChoiceQuestions = singleChoiceQuestions;
    }

    public List<ShortAnswerQuestions> getShortAnswerQuestions() {
        return shortAnswerQuestions;
    }

    public void setShortAnswerQuestions(List<ShortAnswerQuestions> shortAnswerQuestions) {
        this.shortAnswerQuestions = shortAnswerQuestions;
    }

    public List<JudgmentQuestions> getJudgmentQuestions() {
        return judgmentQuestions;
    }

    public void setJudgmentQuestions(List<JudgmentQuestions> judgmentQuestions) {
        this.judgmentQuestions = judgmentQuestions;
    }

    @Override
    public String toString() {
        return "Subject{" +
                "s_id=" + s_id +
                ", s_name='" + s_name + '\'' +
                ", s_creat_time='" + s_creat_time + '\'' +
                ", s_state=" + s_state +
                ", singleChoiceQuestions=" + singleChoiceQuestions +
                ", shortAnswerQuestions=" + shortAnswerQuestions +
                ", judgmentQuestions=" + judgmentQuestions +
                '}';
    }
}
